// 标题组件
import './index.scss';

function Header(props) {
  const { showInputFn } = props;

  return (
    <div className="header">
      <h1>事件待办</h1>
      <span
        className='icon'
        onClick={showInputFn}
      >&#43;</span>
    </div>
  ); 
}

export default Header;